package com.yunji.framework_template.books.orm.persistence.mapper;

import com.yunji.framework_template.books.orm.persistence.model.BooksAuthor;
import com.yunji.framework_template.common.web.Page;
import java.util.List;

public interface BooksAuthorMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BooksAuthor record);

    int insertSelective(BooksAuthor record);

    BooksAuthor selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BooksAuthor record);

    int updateByPrimaryKey(BooksAuthor record);

    List<BooksAuthor> selectByCondition(BooksAuthor record);

    List<BooksAuthor> selectAll();

    List<BooksAuthor> selectByPage(Page page);

    Integer count(BooksAuthor record);

    int deleteByCondition(BooksAuthor record);

    BooksAuthor selectByAuthorName(String authorName);
}